#include "SuperYoop.h"

int main(int argc,char *argv[])
{
    CSuperYoop *sy = new CSuperYoop();

	sy->Init();
//    sy->Start();

    StateManager->AddStateHandler(sy,STATE_SUPERYOOP_START_GAME);

//    sy->Loop();
	sy->Finish();
//    sy->End();
	DEALLOCATE(sy);
}

static IPackage *package = NULL;

extern "C"
{
	IPackage *GetNewInstance()
	{
		package = new CSuperYoop();
	}

	IPackage *GetPack()
	{
		return package;
	}

	void DestroyPackage()
	{
		DEALLOCATE(package);
	}
}
